


import axios from 'axios';

const API_KEY = "dataset-srddmsldfdfdl";

const graph = axios.create({
  baseURL: '',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json',
    'Accept': 'application/json'
  }
});

export const getRoute = (params: any) => {
    return graph.post('/graph/route?key=', params);
}
